/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoShadowStyle;
import com.bedatadriven.mso.core.MsoShadowType;
import com.bedatadriven.mso.core.MsoTriState;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.ShadowFormat*/
public class ShadowFormat extends JavaScriptObject {

	protected ShadowFormat() { }
	public native final Object getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final void incrementOffsetX(float increment)/*-{
		this.IncrementOffsetX( increment);
	}-*/;

	public native final void incrementOffsetY(float increment)/*-{
		this.IncrementOffsetY( increment);
	}-*/;

	public native final ColorFormat getForeColor()/*-{
		return this.ForeColor;
	}-*/;

	public native final void setForeColor(ColorFormat value)/*-{
		this.ForeColor = value;
	}-*/;

	protected native final int _getObscured()/*-{
		return this.Obscured;
	}-*/;

	public final MsoTriState getObscured(){
		return MsoTriState.valueOf(_getObscured());
	}
	protected native final void _setObscured( int value)/*-{
		this.Obscured = value;
	}-*/;

	public final void setObscured(MsoTriState value){
		_setObscured(value.getValue());
	}
	public native final float getOffsetX()/*-{
		return this.OffsetX;
	}-*/;

	public native final void setOffsetX(float value)/*-{
		this.OffsetX = value;
	}-*/;

	public native final float getOffsetY()/*-{
		return this.OffsetY;
	}-*/;

	public native final void setOffsetY(float value)/*-{
		this.OffsetY = value;
	}-*/;

	public native final float getTransparency()/*-{
		return this.Transparency;
	}-*/;

	public native final void setTransparency(float value)/*-{
		this.Transparency = value;
	}-*/;

	protected native final int _getType()/*-{
		return this.Type;
	}-*/;

	public final MsoShadowType getType(){
		return MsoShadowType.valueOf(_getType());
	}
	protected native final void _setType( int value)/*-{
		this.Type = value;
	}-*/;

	public final void setType(MsoShadowType value){
		_setType(value.getValue());
	}
	protected native final int _getVisible()/*-{
		return this.Visible;
	}-*/;

	public final MsoTriState getVisible(){
		return MsoTriState.valueOf(_getVisible());
	}
	protected native final void _setVisible( int value)/*-{
		this.Visible = value;
	}-*/;

	public final void setVisible(MsoTriState value){
		_setVisible(value.getValue());
	}
	protected native final int _getStyle()/*-{
		return this.Style;
	}-*/;

	public final MsoShadowStyle getStyle(){
		return MsoShadowStyle.valueOf(_getStyle());
	}
	protected native final void _setStyle( int value)/*-{
		this.Style = value;
	}-*/;

	public final void setStyle(MsoShadowStyle value){
		_setStyle(value.getValue());
	}
	public native final float getBlur()/*-{
		return this.Blur;
	}-*/;

	public native final void setBlur(float value)/*-{
		this.Blur = value;
	}-*/;

	public native final float getSize()/*-{
		return this.Size;
	}-*/;

	public native final void setSize(float value)/*-{
		this.Size = value;
	}-*/;

	protected native final int _getRotateWithShape()/*-{
		return this.RotateWithShape;
	}-*/;

	public final MsoTriState getRotateWithShape(){
		return MsoTriState.valueOf(_getRotateWithShape());
	}
	protected native final void _setRotateWithShape( int value)/*-{
		this.RotateWithShape = value;
	}-*/;

	public final void setRotateWithShape(MsoTriState value){
		_setRotateWithShape(value.getValue());
	}
}
